const schema = require('./schema.json');

module.exports = function(content) {
    //添加前缀
    // schema对options的验证规则
    // schema符合JSON Schema的规则
    const options = this.getOptions(schema);
    const prefix = `
        /**
         * Author:${options.author}
         */
    `;
    return prefix + content;
}